#ifndef RUNNER_COMMON_H
#define RUNNER_COMMON_H
#include <sys/types.h>
#include <stdint.h>
#include "err.h"
typedef struct run_struct
{
    int __alloc_cnt;
    int argc;
    char **argv;
} run_strc, *prun_strc;


typedef struct runner_reqquest
{
    pid_t pid;
    int fdes[2];
    err_strc error;
} rn_req;

void run_strc_init(prun_strc);
void run_strc_free(prun_strc);
void run_strc_add(prun_strc, char *);
run_strc run_strc_copy(prun_strc);

int8_t is_exit_case(prun_strc);
int8_t is_cd_case(prun_strc);
int8_t is_help_case(prun_strc);


#endif // RUNNER_COMMON_H
